public class Test {
    public static void main(String[] args) {
        BinaryTreeCreate binaryTreeCreate = new BinaryTreeCreate();
        BinaryTreeCreate.TreeNode root = binaryTreeCreate.createTree();
        binaryTreeCreate.preOrder(root);
        System.out.println();
        binaryTreeCreate.preOrderNor(root);
        System.out.println();

        binaryTreeCreate.inOrder(root);
        System.out.println();
        binaryTreeCreate.postOrder(root);
        System.out.println();
        System.out.println("=====第k层结点个数=====");
        System.out.println(binaryTreeCreate.getKLevelNodeCount(root,3));
        System.out.println("=====层序遍历=====");
        binaryTreeCreate.levelOrder(root);
        System.out.println();
        System.out.println("=====是否为完全二叉树=====");
        System.out.println(binaryTreeCreate.isCompleteTree(root));
    }

}
